home *** CD-ROM | disk | FTP | other *** search
/ Willard Press Kit / Willard Press Kit.iso / mac / Acrobat Reader 5 / Acrobat Reader 5.0 / Acrobat Reader 5.0.rsrc / EXVW_10027_admPrefsAnnotations < prev    next >
Text File  |  2001-09-24  |  940b  |  33 lines

  1. gMaxWidth=max(
  2.     zstring_width(zstring: '$$$/Prefs/Annotations/Font'),
  3.     zstring_width(zstring: '$$$/Prefs/Annotations/FontSize'));
  4.  
  5. dialog(name: '$$$/Prefs/Annotations', margin_height: 0, margin_width: 0)
  6. {
  7.     cluster(name: '$$$/Prefs/Annotations', dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth, align_children: align_fill)
  8.     {
  9.         view(align_children: align_row)
  10.         {
  11.             view(align_children: align_right, width: gMaxWidth)
  12.             {
  13.                 static_text(name: '$$$/Prefs/Annotations/Font');
  14.             }
  15.             view(align_children: align_left, width: gMaxWidth)
  16.             {
  17.                 popup(item_id: 'font', width: max_char_width() * 20);
  18.             }
  19.         }
  20.         view(align_children: align_row)
  21.         {
  22.             view(align_children: align_right, width: gMaxWidth)
  23.             {
  24.                 static_text(name: '$$$/Prefs/Annotations/FontSize');
  25.             }
  26.             view(align_children: align_left, width: gMaxWidth)
  27.             {
  28.                 edit_text( item_id: 'fsiz', width: max_char_width() * 4, PopupEdit: true, numeric: true);
  29.             }
  30.         }
  31.     }
  32. }
  33.